package com.deft.design.adapter.adapter.impl;

import com.deft.design.adapter.adapter.OrderAdapterService;
import com.deft.design.adapter.service.PopOrderService;

/**
 * @author Hide丶love
 * @date 2022/04/24
 **/
public class PopOrderAdapterServiceImpl implements OrderAdapterService {

    private final PopOrderService popOrderService = new PopOrderService();

    @Override
    public boolean isFirst(String userId) {
        return popOrderService.isFirstOrder(userId);
    }
}
